//导入express框架
const express = require('express')
//创建路由对象
const router = express.Router()

//查询购物车列表
router.get('/getCarts', require('./carts/getCarts'))
//修改购物车的属性
router.post('/editCarts', require('./carts/editCast'))
//删除购物车中的商品
router.post('/deleteGood', require('./carts/deleteGood'))
module.exports = router